package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户状态对象 t_user_status
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class TUserStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String uid;

    /** 状态：0 正常；1 被禁言，2 被封禁 */
    @Excel(name = "状态", readConverterExp = "0=正常,1=被禁言,2=被封禁")
    private Integer status;

    /** 设置时间 */
    @Excel(name = "设置时间")
    private Long dt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDt(Long dt) 
    {
        this.dt = dt;
    }

    public Long getDt() 
    {
        return dt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("status", getStatus())
            .append("dt", getDt())
            .toString();
    }
}